package com.ruoyi.Thesis.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 优秀作品对象 thesis
 * 
 * @author yjh
 * @date 2024-08-23
 */
public class Thesis extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一ID */
    private Long id;

    /** 年级 */
    @Excel(name = "年级")
    private String grade;

    /** 发表人 */
    @Excel(name = "发表人")
    private String name;

    /** 论文属性 */
    @Excel(name = "论文属性")
    private String thesisName;

    /** 论文文件 */
    @Excel(name = "论文文件")
    private String thesis;

    /** 发表时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发表时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 导师 */
    @Excel(name = "导师")
    private String teacher;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setThesisName(String thesisName) 
    {
        this.thesisName = thesisName;
    }

    public String getThesisName() 
    {
        return thesisName;
    }
    public void setThesis(String thesis) 
    {
        this.thesis = thesis;
    }

    public String getThesis() 
    {
        return thesis;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setTeacher(String teacher) 
    {
        this.teacher = teacher;
    }

    public String getTeacher() 
    {
        return teacher;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("grade", getGrade())
            .append("name", getName())
            .append("thesisName", getThesisName())
            .append("thesis", getThesis())
            .append("startTime", getStartTime())
            .append("teacher", getTeacher())
            .toString();
    }
}
